package com.lh.java.basic.datatype;

/**
 ************************************************ 
 ** Module : int 4个字节(32bit)，short 2个字节(16bit) ， long 8个字节(64bit) ，byte
 * 1个字节(8bit) ， float 4个字节(32bit) ，double8个字节(64bit),char c;
 * 2字节（C语言中是1字节），汉字占两个字节 这些都是确定的，记住就行了 Date: 2012-8-20 Time: 下午03:56:25 Author
 * lh
 ************************************************ 
 */
public class BasicTypePacity {
	public static void main(String[] args) {
		BasicType bt = new BasicType();
		boolean bl = bt.isBl();
		System.out.println(bl);
	}

}

class BasicType {
	private boolean bl;
	private byte bt;
	private int it;
	private long lg;
	private float ft;
	private double db;

	public boolean isBl() {
		return bl;
	}

	public void setBl(boolean bl) {
		this.bl = bl;
	}

	public byte getBt() {
		return bt;
	}

	public void setBt(byte bt) {
		this.bt = bt;
	}

	public int getIt() {
		return it;
	}

	public void setIt(int it) {
		this.it = it;
	}

	public long getLg() {
		return lg;
	}

	public void setLg(long lg) {
		this.lg = lg;
	}

	public float getFt() {
		return ft;
	}

	public void setFt(float ft) {
		this.ft = ft;
	}

	public double getDb() {
		return db;
	}

	public void setDb(double db) {
		this.db = db;
	}

}